<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use frontend\assets\AppAsset;
use yii\bootstrap\Modal;

/* @var $this yii\web\View */
/* @var $model backend\models\School */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="school-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'DM')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZWMC')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'YWMC')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'JC')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'DZ')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'DZDM')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CS')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'QX')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'SDJYBMDM')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'SDJYBMMC')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'XZQHM')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZDCXLX')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'JBZMC')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'BXLB')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'SSMZXX')->dropDownList(['否', '是']) ?>

    <?= $form->field($model, 'XXLB')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FSBLX')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FRZSH')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FRDBMC')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FZRXM')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FZRLXDH')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'JXNY')->textInput(['class'=>'date form-control']) ?>
    
    <?= $form->field($model, 'LXDH')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CZDH')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZYDZ')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'YZBM')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'DZXX')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'PGLX')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'SFJLXYW')->dropDownList(['否', '是']) ?>

    <?= $form->field($model, 'ZGLB')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'XXBB')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'SZDQLB')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'XZXM')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'XZSJH')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'XJLXR')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'XJLXDH')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZSZXDH')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZSZXYX')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'JJ')->textarea(['rows' => 6]) ?>

    <!-- <?//= $form->field($model, 'ZT')->textInput(['maxlength' => true]) ?> -->

    <div class="form-group">
        <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
<script>
    <?php $this->beginBlock('datepicker-config') ?>
    layui.use('laydate', function(){
        var laydate = layui.laydate;

        laydate.render({
          elem: '.date', //指定表单控件
          type: 'month',
        });
    });
    <?php $this->endBlock() ?>
    <?php $this->registerJs($this->blocks['datepicker-config']) ?>
</script>